package com.baizhi.service.impl;


import com.baizhi.dao.MenueMapper;
import com.baizhi.entity.Menue;
import com.baizhi.service.MenueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author: renpu
 * @Date: 2019/2/26 20:43
 * @Description:
 */

@Service
@Transactional
public class MenueServiceImpl implements MenueService {

    @Autowired
    private MenueMapper menueMapper;

    @Override
    public List<Menue> selectAll() {

        return menueMapper.selectAll();
    }
}
